<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title><tiles:insertAttribute name="title" /></title>
<!--[if IE]>
<link rel="stylesheet" href="resources/css/ie.css"
type="text/css" media="screen, projection">
<![endif]-->
<style>
body {
	margin-top: 20px;
	margin-bottom: 20px;
	background-color: #DFDFDF;
}
</style>

<link rel="stylesheet" href="<c:url value="css/bootstrap.css" />"
	type="text/css" />
<link rel="stylesheet"
	href="<c:url value="font-awesome-4.2.0/css/font-awesome.min.css" />"
	type="text/css" />
<link rel="stylesheet" href="<c:url value="css/simple-sidebar.css" />"
	type="text/css" />
<%-- <link rel="stylesheet" href="<c:url value="css/screen.css" />" type="text/css" /> --%>
<link rel="stylesheet" href="<c:url value="css/jquery-ui-min.css" />"
	type="text/css" />
<link rel="stylesheet"
	href="<c:url value="css/jquery.dataTables.css" />" type="text/css" />

<!-- SCRIPT -->
<script src="<c:url value="js/jquery/jquery-1.10.2.min.js" />"
	type="text/javascript"></script>
<%-- <script src="<c:url value="js/jquery/jquery.tooltip.js" />" type="text/javascript"></script> --%>
<script src="<c:url value="js/jquery/jquery-ui.js" />"
	type="text/javascript"></script>
<script src="<c:url value="js/jquery/jquery.dataTables.js" />"
	type="text/javascript"></script>
<script src="<c:url value="js/bootstrap/bootstrap.js" />"
	type="text/javascript"></script>

</head>
<body>
	<div id="wrapper">
		<div id="sidebar-wrapper">
			<ul class="sidebar-nav">
				<li class="sidebar-brand"><a href="#"> Bank Management </a></li>
				<li><a href="home">Home</a></li>
				<li><a href="listAccount">Account</a></li>
				<li><a href="listCustomer">Customer</a></li>
			</ul>
		</div>
		<tiles:insertAttribute name="header" />
		<nav class="navbar navbar-default" role="navigation">
			<div class="container">
				<ul class="nav navbar-nav">
					<li><a href="home">Home</a></li>
					<li><a href="listAccount">Account</a></li>
					<li><a href="listCustomer">Customer</a></li>
				</ul>
			</div>
		</nav>
		<c:if test="${not empty successMessage}">
			<div class="alert alert-success" role="alert">${successMessage}</div>
		</c:if>
		<c:if test="${not empty errorMessage}">
			<div class="alert alert-warning" role="alert">${errorMessage}</div>
		</c:if>

		<tiles:insertAttribute name="body" />
		<tiles:insertAttribute name="footer" />
	</div>
</body>
</html>